set ant=C:\eclipse\plugins\org.apache.ant_1.7.0.v200706080842\bin

cmd /C %ant%\ant -f ..\..\..\nstmAdapter\convert.xml
@echo Press key when recompiled
pause

@rem %windir%\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe ..\..\JSTMDllGenerator\JSTMDllGenerator.csproj
@rem pushd .
@rem cd ..\..\JSTMDllGenerator\bin\Debug\
@rem JSTMDllGenerator.exe -nopause
@rem popd

%windir%\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe BuildJava.proj

IF "%1"=="-nopause" goto nopause
pause

:nopause
